Install GuestOS
|
This example shows to install Fedora 10 for GuestOS. Desktop Environment is required.
|
|
[1] | Create an image file and start X server. |
[root@dlp ~]# mkdir /var/kvm [root@dlp ~]# qemu-img create -f qcow2 /var/kvm/www.img 30G Formating '/var/kvm/www.img', fmt=qcow2, size=20971520 kB [root@dlp ~]# |
[2] | Run X terminal like below. If you don't have ISO file, insert install disk in your computer and input '-cdrom /dev/cdrom'. |
[root@dlp ~]# cd /var/kvm
[root@dlp ~]# qemu-kvm -m 512 -cdrom /var/kvm/iso/Fedora-10-i386-DVD.iso -hda www.img # -m [amount of memory] # -hda [virtual disk] |
[3] | Installer starts like below. After finishing to install Fedora 12, the system will restart and boot automatically. |
[4] | To start guestOS, input commands like below. |
[root@dlp ~]# cd /var/kvm
[root@dlp ~]# qemu-kvm -m 512 -hda www.img # -m [amount of memory] # -hda [virtual disk] |
GuestOS is running normally. | |